﻿using System;
using System.Collections.Generic;
using System.Text;

namespace 里氏转换
{
    public class Persom
    {
        public void A()
        {
            Console.WriteLine("我是父类");
        }
    
    }
    public class Xuesheng:Persom
    {
        public void B()
        {
            Console.WriteLine("我是学生");
        }
    }
    public class Laoshi:Persom
    {
        public void C()
        {
            Console.WriteLine("我是老师");
        }
    }
    public class Mein:Persom
    {
        public void D()
        {
            Console.WriteLine("我是美女");
        }
    }
    public class Shuaige : Persom
    {
        public void E()
        {
            Console.WriteLine("我是帅锅");
        }
    }
    public class Yeshou : Persom
    {
        public void F()
        {
            Console.WriteLine("我是野兽");
        }
    }
        
}
